package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeHisOpPos;
import sanshui.system.trade.db.entity.TradeHisOpPosExample;

public interface TradeHisOpPosMapper {
    long countByExample(TradeHisOpPosExample example);

    int deleteByExample(TradeHisOpPosExample example);

    int deleteByPrimaryKey(Long opId);

    int insert(TradeHisOpPos record);

    int insertSelective(TradeHisOpPos record);

    List<TradeHisOpPos> selectByExampleWithRowbounds(TradeHisOpPosExample example, RowBounds rowBounds);

    List<TradeHisOpPos> selectByExample(TradeHisOpPosExample example);

    TradeHisOpPos selectByPrimaryKey(Long opId);

    int updateByExampleSelective(@Param("record") TradeHisOpPos record, @Param("example") TradeHisOpPosExample example);

    int updateByExample(@Param("record") TradeHisOpPos record, @Param("example") TradeHisOpPosExample example);

    int updateByPrimaryKeySelective(TradeHisOpPos record);

    int updateByPrimaryKey(TradeHisOpPos record);
}